<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>伪类选择器</title>
    <style>
        /* 任何标签 都可以设置鼠标悬停的状态 */
        a:hover {
            color: red;
        }
        /* div:hover {
            color: aqua;
        } */
        .hh:hover {
            color: chocolate;
        }
    </style>
</head>
<body>
    <a href="#">啊 标签</a>
    <div class="hh">div 标签</div>
</body>
</html>